package com.example.dynamicjavacode.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class T4 {
    @Autowired
    private TestComponent testComponent;

    void print(String a) {
        testComponent.print();
        System.out.println("Hello world! " + a);
    }

    static void print(Integer b, String a) {
        System.out.println("Hello world! " + b + a);
    }
}
